package com.dg11185.nearshop.net.response;

import org.json.JSONException;
import org.json.JSONObject;

public class MyBehaviorResponse {

	 public final static String FAVOR = "1";    //已收藏
	 public final static String NOTFAVOR = "0"; //未收藏
	 public final static String LIKE = "1";     //已点赞
	 public final static String NOTLIKE = "0";  //未点赞
	
	 public String status = "";
	 public String isfavor = "";
	 public String islike = "";
	 
	 public void parseJson(String response) throws JSONException {
		 
		 JSONObject jsonObject = new JSONObject(response);
	     status = jsonObject.getString("status");
		 isfavor = jsonObject.getString("isFavor");
		 islike = jsonObject.getString("isLike");
		 
	 }
	 
}
